package com.dmx.fw.service.interfaces;

import java.util.List;

import com.dmx.fw.bean.mapping.pojo.ParameterData;
import com.dmx.fw.bean.mapping.pojo.ParameterDescription;
import com.dmx.fw.bean.mapping.pojo.Role;
import com.dmx.fw.service.interfaces.Service;

public interface RoleService extends Service{

	public Role getRole(Long roleId);
	
	public List findRescByRoleId(Long roleId);
	
	public List findRescByRole(Long roleId);
	
	public List findAllResc();
	
	public List findAllRescByOperator(Long operatorId);
	
	public void save(Role role, String[] funcArray);
	
	public boolean checkRoleNameUnique(Role role);

	public List findOperatorByRoleId(Long roleId);

	public void delete(Role role);

	public void update(Role role, String[] funcArray);

}
